/**
 * 数据分析和帮助中心页面专用样式
 */

/* 图表容器样式 */
.chart-container {
    position: relative;
    min-height: 300px;
    width: 100%;
}

/* 图表底部说明 */
.chart-legend {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.chart-legend-color {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    border-radius: 3px;
}

/* 分析页筛选面板 */
.analysis-filters .deepseek-card {
    height: 100%;
}

/* 分析数据表格 */
.analytics-table th {
    font-weight: 600;
    white-space: nowrap;
}

.analytics-table .trend-indicator {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    margin-left: 5px;
}

.analytics-table .trend-up {
    color: var(--bs-success);
}

.analytics-table .trend-down {
    color: var(--bs-danger);
}

/* 深色模式调整 */
.dark-mode .chart-container {
    background-color: var(--deepseek-card-bg-dark);
    border-radius: var(--deepseek-border-radius);
}

/* 帮助中心步骤组件 */
.deepseek-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
}

.deepseek-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.deepseek-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 2px solid var(--bs-gray-300);
    color: var(--bs-gray);
}

.deepseek-step.active .deepseek-step-icon {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.deepseek-step.completed .deepseek-step-icon {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
}

.deepseek-step-label {
    font-size: 0.9rem;
    text-align: center;
}

.deepseek-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--bs-gray-300);
    z-index: 0;
}

/* 帮助中心FAQ手风琴 */
.deepseek-help-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    color: var(--bs-primary);
}

.deepseek-help-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(var(--bs-primary-rgb), 0.25);
}

/* 帮助中心快速链接 */
.help-quick-links .list-group-item {
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 0.75rem 1rem;
}

.help-quick-links .list-group-item:first-child {
    border-top: none;
}

.help-quick-links .list-group-item:last-child {
    border-bottom: none;
}

.help-quick-links .list-group-item i {
    transition: transform 0.2s;
}

.help-quick-links .list-group-item:hover i {
    transform: translateX(5px);
}

/* 搜索结果标记 */
.highlight-search {
    background-color: rgba(var(--bs-warning-rgb), 0.2);
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
}

/* 时间日期选择器 */
.date-range-picker {
    display: flex;
    gap: 10px;
}

.date-range-picker .form-control {
    flex: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .chart-container {
        min-height: 200px;
    }
    
    .deepseek-steps {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }
    
    .deepseek-step {
        flex-direction: row;
        margin-bottom: 20px;
    }
    
    .deepseek-step-icon {
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .deepseek-steps::before {
        top: 0;
        bottom: 0;
        right: auto;
        left: 20px;
        width: 2px;
        height: 100%;
    }
} 